| ID {GCDkit} | R Documentation |
Identification/labelling of individual data points on plots.
ID(x, y, labs=getOption("gcd.ident"), offset=0.4,
col="gray30", cex=1)
x, y |
vector with x-y coordinates of the data points |
labs |
text to label individual data points, see details |
offset |
distance (in char widths) between label and identified points. |
col |
colour of the text |
cex |
its size |
In GCDkit, the option 'ident' determines whether the user wishes
to identify data points on binary and ternary plots. The default is zero, which
means no identification.
If 'ident' differs from zero, internal function 'ID' can be invoked.
Its parameter labs is either a single number, or character vector.
In the former case, the variable 'labs' contains either 1
(identification by sample name), or the sequential number of the column
in the data frame 'labels' increased by one (identification by a user-
defined label).
Alternatively, a character vector labs can be used to specify the text
directly.
None.
Vojtěch Janoušek, vojtech.janousek@geology.cz
getOption("gcd.ident") # yields the current value of the given option